<@user.user_html>
<script type="text/javascript" src="${statics}/plugins/editor/fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="${statics}/plugins/fileupload/ajaxfileupload.js" ></script>
<script type="text/javascript" src="${statics}/plugins/fileupload/ajaxupload.js" ></script>
<script type="text/javascript">
		window.onload = function() {	
			var oFCKeditor = new FCKeditor( 'topic.content' ) ;
			oFCKeditor.BasePath = "${statics}/plugins/editor/fckeditor/"
			oFCKeditor.ReplaceTextarea() ;
		}
</script>
    <div class="clear"></div>
	

    <div class="swarp">
    	<#-- 嵌入导航-->
		<#include "/WEB-INF/content/include/user/app.ftl">
        <div class="srightwarp">
        	<div class="xwarp" style=" margin:0px; width:750px; overflow:hidden;">
            	<div class="xtitle">
                	<ul>
                    	<li><a href="${base}/user/topic/">热门转贴</a></li>
                        <li class="check"><a href="${base}/user/topic/index!add">发起转贴</a></li>
                        <li ><a href="${base}/user/topic/index!my">我的转贴</a></li>
                        <li><a href="${base}/user/topic/index!friends">关注人的转帖</a></li>
                        
                    </ul>
                    <div class="clear"></div>
                </div>
                <form id="saveForm" name="saveForm" action="${base}/user/topic/index!save" method="post">
                <div class="xbody sbody" style=" width:748px; margin:0px; padding:20px 0px;">
            		
                   
                    
                    <div class="module" style="width:680px; margin:0 auto; text-align:left; margin-bottom:15px;">
                       
                        <table class="module_tab xtab">
                            <tr>
                                <th>* 标题：</th>
                                <td><input name="topic.title" type="text" class="t" style="width:400px; height:20px;" /><em>限100个字符</em></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td style="height:20px;"></td>
                            </tr>
                           
                            <tr>
                                <th></th>
                                <td><span style="padding:5px; background-color:#fff000; color:#bb0000;">上传转帖的缩略图,这张图片会显示在动态里面.</span></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td><label>
                                  <input  id="upload_1" type="file" name="upload"  onchange="return ajaxFileUpload(this);"/>
                                </label></td>
                          </tr>
                            <tr>
                                <th></th>
                                <td><div>
                                		<img id="imgshow_1" width="240px" src="${statics}/plugins/fileupload/pic_upload_default.jpg" height="180px" class="multiple_img"/>
                                	</div>
                                	<input id="hidden_1" type="hidden" name="topic.cover" value="" />
                                </td>
                            </tr>
                        
                            
                        </table>
                     
                       <#-- <div class="module_btn">
                            <input name="" type="button" class="w" value="插入模块" onclick="document.getElementById('hiddenlist').style.display='block'" />
                            <ul id="hiddenlist">
                                <li><a href="#" onclick="document.getElementById('hiddenlist').style.display='none'">文 本</a></li>
                                <li><a href="#" onclick="document.getElementById('hiddenlist').style.display='none'">图 片</a></li>
                                <li><a href="#" onclick="document.getElementById('hiddenlist').style.display='none'">音 频</a></li>
                                <li><a href="#" onclick="document.getElementById('hiddenlist').style.display='none'">视 频</a></li>
                            </ul>
                        </div>-->
                    </div>
                    
                    <div class="WarpModule spwarp">
                        <div class="subtitle" style="background:none;">
                            文 本           
                        </div>
                        <div class="module">
                            <table  width="100%">
                                <tr>
                                   
                                    <td><textarea name="topic.content"></textarea></td>
                                </tr>
                               
                            </table>
                            <#--
                            <div class="subright">
                                <span class="subbtn1"><input name="" type="button" class="w" value="插入模块" /></span>
                                <span class="subbtn2"><input name="" type="button" class="w" value="删除模块" style="color:#666;" /></span>
                              
                            </div>-->
                            <div class="clear"></div>
                        </div>
                    </div>
                    
                    <#--
                    <div class="vote">
                    	<h6>发起互动观点投票</h6>
                    	<table class="voteTable">
                        	<tr>
                        		<th>选项01:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项02:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项03:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项04:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项05:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项06:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项07:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项08:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项09:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                            <tr>
                        		<th>选项10:</th>
                                <td><input name="" type="text" class="t" style="width:400px; height:20px;" /></td>
                            </tr>
                        </table>
                        
                        
                    </div>
                    -->
                    
                     <div class="star_save"><input name="" type="submit" class="w" value="保 存"/></div>

            	</div>
				</form>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</@user.user_html>


